After getting lost, it took a while to get my bearings straight.
После того, как я потерялся, потребовалось время, чтобы идти по прямой.
Definitions
To have one's 'bearings straight' means to be oriented, aware, or clear-headed about a situation; to understand what is happening or to know one's position or direction, either literally or figuratively.